SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '5cbb2c3c4172c97bb1d9d9b72e7198cbe91aa908cfada75ddbd5547d559acce1' 
  AND token = 'EdMR9hogtKvmGH+Rj+YSeo27rLFPSboHWhHkLxLRQM8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00028

JSON explain

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