SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'd3c7a8e742923ece2eb84392bdc5cfed3e338b1ac88cdd2423546847947afe7f' 
  AND token = 'tMMpNLHsPu2iBo6uy/cky/n9qsBqgpGcC2NTfTHRb6U=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00020

JSON explain

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