SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'c5631b4765befcdcef2e518875fd721ba42b1d203f3774f71dc8bb9041216a36' 
  AND token = 'R938LIyURpPAbdYd+UYxOc9CgQTEq0tbF1my0nXFV/Q=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00031

JSON explain

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