SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'd71407d36159dfe76beb3707d057104701f6f2eab24796b19ad1205724ea97e8' 
  AND token = 'mZDtZ+Mj2dxw7D8ai1UwUEcnrulB/knUWsoWavPywxc=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00021

JSON explain

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