SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '2c3e86dd164bdca5a5ca0c7c97b6ee6f84d552df1b1d86c63249a7cfcfc1c4ce' 
  AND token = 'IfsvD3wY+6skQ6m7YzIqYvV0P3pv1dSAbJppkF6eebM=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00049

JSON explain

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