SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '1a0049c757afc6d9a4addcc523b1110b28cd4b3facf9a7c7ce362b07815eeaa8' 
  AND token = '2q/3eqE2YYaUGheRQSQRrPrdJuxfA0ecjrlL173ECmQ=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00035

JSON explain

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