SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'd5831c119ecd5dfe6300b8a7997229c48f1c1e3352a6b2c76504cdb0ab70819a' 
  AND token = 'jI4eDwT6ld+ovRIkYLUi2w5XiJiLE7Qcep/XG7zefMc=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00030

JSON explain

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