SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '199146a89a60e465b64a83ab9f756c3f3254fdb8c2b3aede9ce4fa284878fba7' 
  AND token = 'o5ol491sO8t51VUbrI6Qi0mPr34KPuZPPodwxoaumhM=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00042

JSON explain

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