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

Query time 0.00013

JSON explain

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