SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '7f3aa8f3c6e7ca21d5f73d2491e52c249c3083bdecbca3496ffcb45536b139d1' 
  AND token = 'nwGCW/1dyvp7OE64Xw1Rm5R7tualRRKwwmRI2W1/3BU=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00037

JSON explain

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