SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'a8bcccfc7e4bcbfd5627b644d0c61dd843bb77121b2dcb4eac9ff3f902b0b355' 
  AND token = 'cXKM4f6O5HUhkmTXwd3VhqAc110TKHX6oMqbgLBfNG8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00013

JSON explain

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