SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'fb5edde69c8190963c878198ffdedd95a0d47fc3331af69e0d3dd491546659d4' 
  AND token = 'o5glKGraGf4KeNj454t0gDR2yQzdJLLuE1a+/UOm4iQ=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00019

JSON explain

{
  "query_block": {
    "select_id": 1,
    "table": {
      "message": "Impossible WHERE noticed after reading const tables"
    }
  }
}