SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '402ff058f9db045d98d5882a4b9c64d83636a83d9cc387651bc2995a24561a7e' 
  AND token = 'hmEig7UPJSuyt57Zco2fln/m3d6oCjY6qvRMdJD10CM=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00026

JSON explain

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