SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '0d1d643597cebc73503b7f4c36ce5c0f7488c835a460cf87f7cf6c9a48bb457b' 
  AND token = 'scuLasXMKROqgv9N+8BMCae169xXu4UTc9h9+y9S+zU=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00031

JSON explain

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