SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'd54edcf6da7964c3aea8e1bf3f31a7adb165624bd36f1313c6404e1ed54b8b76' 
  AND token = 'r8EwiwdGx6NLtXav4zWK6t5LVFXYy0jYAbl1h8jU+5E=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00050

JSON explain

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