SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '335e0c45f734e2179c63511da56adf0b598758f649fbd49aa505f6a7e43a8d60' 
  AND token = 'J9dSni4uHAI374Df2c5yHFf7p0e0kwj3eb+NAwp9aGo=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00018

JSON explain

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