SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'ec02c13c777cb17645bd901b3433293a4ac54a3d0767d49fc056a8b765eedcef' 
  AND token = '8CSSJiKq5Uo88B2YGkB4G6abii1SMyY/alldJIM5DuU=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00030

JSON explain

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