SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '5a4bdc2992ca91724be16f02d99af46c7f5531c939a9adb9d2870e0dbbf4adaf' 
  AND token = 'esrB3SSul1Ywc2Ht9STt9Jduji+JX+bf/NNUIrn9l38=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00014

JSON explain

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