SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '0025b4921b80ff44b8276b071eef0591244231ca0966cba28935790e26cc0f2d' 
  AND token = 'JMpc6s5F1CiW1m6HcIutPIqsO/Z2mE16qU8WuH2rB/8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00049

JSON explain

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