SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '1c5a42893784e64464be2e889d8f3ffa1942aa1a731171dd398f030d4b0aa3fa' 
  AND token = 'Qj2OvXQdrQABVBqPrZxki7ExZE/EmCC3Mt9HMuH1VYM=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00037

JSON explain

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