SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'd4ddcfa1ccef27a73ac4894fc9784b96895093c1c9edca5afbb94f3f6cc5ed2a' 
  AND token = 'EmRNhp9cBr79KXNQ4Qf+yjftW4e1qdelTWzZSLrFpeM=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00040

JSON explain

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