SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '16888f0bd248b3a7b5fcce211dcae2407f1943315ceae45209e177bfe7aff31c' 
  AND token = 'pi7C+EIIRwCFlglVjW/6RUZkOR3GGoyuo2uaTohVgyM=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00013

JSON explain

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