SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '4b08b8cd03e59537ec792703025f2da7651a61f7b0a409e724e232cadf9e228f' 
  AND token = 'w221N6j58oTwHl6ytVyenbDDahMXDp01Y/wLTcHDJk8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00043

JSON explain

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