SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '1a77d1a786e29e7d6898a101edcf09f8f7401b43814abaf723058e93027953a2' 
  AND token = '2dXGdjGyTGSCv5u6VIrEhPMxzmdBCl1Oux+ZHut3e4o=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00036

JSON explain

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