SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'b342a2f365a76fe300e4489da1474d4ff7693916bba53833cce3d7fc08fb6946' 
  AND token = 'P7kaLncsIBgm7w/0sE71V9R6L/jxdoJjykbLAT1u70E=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00048

JSON explain

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