SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'ce47892a944950157f2efb794a357dd09dcd354546646d013e77b0aec5ee94a9' 
  AND token = 'MdlbaoWrH5v5EjaJXGqneeWnnekOh8ixrh595OBy0kc=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00040

JSON explain

{
  "query_block": {
    "select_id": 1,
    "message": "no matching row in const table"
  }
}