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

Query time 0.00066

JSON explain

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