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

Query time 0.00041

JSON explain

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